package cn.kxx.serviceImpl;


import cn.kxx.mapper.AppointmentMapper;
import cn.kxx.pojo.AppointmentInfo;
import cn.kxx.service.AppointmentService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class AppointmentImpl implements AppointmentService {

    @Autowired
    private AppointmentMapper appointmentMapper;
    @Override
    public List<AppointmentInfo> findAll() {

       List<AppointmentInfo> list = appointmentMapper.findAll();
       return list;
    }

    @Override
    public List<AppointmentInfo> findAll1(String s) {

        List<AppointmentInfo> list = appointmentMapper.findAll1(s);
        return list;
    }


}
